home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 September / CHIP 1996 szeptember (CD07).zip / CHIP_CD07.ISO / povray30 / povmsdos.exe / POVMSDOS.ZIP / TEXSAMPS / WOODS / TEAK.POV < prev    next >
Text File  |  1995-07-27  |  660b  |  37 lines

  1. // Persistence Of Vision Raytracer version 3.0 sample file.
  2. #include "colors.inc"
  3. #include "woods.inc"
  4. #include "teak.map"
  5.  
  6. camera {
  7.    location <0, 10, -20>
  8.    direction <0, 0,  3>
  9.    right x*1.33
  10.    look_at 1.5*y
  11. }
  12.  
  13. light_source {<-50, 50, -1000> color Gray75}
  14. light_source {< 50, 30, -20> color White}
  15.  
  16. background { color Gray30 }
  17.  
  18. #declare Stack =
  19. union {
  20.    sphere{<0, 4, 0>, 1}
  21.    cone { -y,1, y, 0.5 translate 2*y }
  22.    box {-1,1}
  23.    no_shadow
  24. }
  25.  
  26. object {
  27.     Stack
  28.     texture{
  29.         pigment {
  30.             P_WoodGrain3A
  31.             color_map { M_Teak }
  32.             scale 2
  33.             rotate x*90
  34.         }
  35.     }
  36. }
  37.